<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
</head>
<body>
home jsp
<hr>
${message}
<hr>

<textarea id="descript" name="descript" style="height:200px;visibility: hidden;"></textarea>

</body>
<!-- 编辑器引入 -->
<link rel="stylesheet" href="/kindeditor/themes/default/default.css" />
<script charset="utf-8" src="/kindeditor/kindeditor-all-min.js"></script>
<script charset="utf-8" src="/kindeditor/lang/zh-CN.js"></script>
<script type="text/javascript">
KindEditor.ready(function(K) {
    K.create('textarea[name="descript"]', {
        uploadJson : 'http://localhost:8080/kind/fileUpload',
        fileManagerJson : 'http://localhost:8080/kind/fileManager',
        allowFileManager : true,
        allowImageUpload : true,
        autoHeightMode : true,
        width : "640px",
        height : "400px",
        afterCreate : function() {this.loadPlugin('autoheight');},
        afterBlur : function(){ this.sync(); }  //Kindeditor下获取文本框信息
    });
});




</script>


</html>